########################################################################
#
#       ORIGIN:     FUYONG .
#       GROUP:      
#       PROJECT:    USED FOR GCC Makefile
#       DATE:       April 2009.
#       PURPOSE:    Standard application makefile
#                   
#       NOTE:       config csm1800 
#                   are organised into the linux directory structure.
#
#       $Revision: $
#       $Date: 7-Jan-2009.09:35:44 $ 
########################################################################
HI3716CAPI_DIR = $(ROOT_DIR)/plantform/Hi3716C
LIB_DIR += -L$(ROOT_DIR)/lib
LIB_DIR += -L$(HI3716CAPI_DIR)/lib
INCLUDES += -I$(ROOT_DIR)/include
INCLUDES += -I$(HI3716CAPI_DIR)/include
CFLAGS += -DOS_LINUX
CFLAGS += -W -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2
CFLAGS += -DCHIP_TYPE_hi3716cv101 -DBOARD_TYPE_hi3716cdmoverb -DSDK_VERSION="Hi3716CV100R001C00SPC050"
CFLAGS += -march=armv7-a -mcpu=cortex-a9 -mfloat-abi=softfp -mfpu=vfpv3-d16
CFLAGS += -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -O2 -ffunction-sections -fdata-sections -Wl,--gc-sections -D_GNU_SOURCE
LIBS += -lexpat -lpthread -lrt -lm -ldl -lrtp \
				-lz -lsubdec -lrtp -lpng14 -lpng -lplayer -ljpeg6b -ljpeg -lhimount -lhigoadp \
				-lhigo -lhi_vp -lhi_ttx -lhi_subtitle -lhi_so -lhi_resampler -lhi_pes -lhi_msp \
				-lhi_common -lhi_charsetMgr -lhi_cc -lfreetype -leffect

